package pl.com.sjap.agenci;

public class MPKDriver extends Person {

	private int experience; //doswiadczenie
	private double avrSpeed; //srednia predkosc
	private boolean isSafe; //czy jest kierowca jezdzacym bezpiecznie
	private double  busEfficiency; //sprawnosc jego autobusu
	

	public MPKDriver(String name, String surname, int xposition, int yposition,
			int experience, double costPerKm, double avrSpeed, boolean isSafe,
			double busEfficiency) {
		super(name, surname, xposition, yposition);
		this.experience = experience;
		this.avrSpeed = avrSpeed;
		this.isSafe = isSafe;
		this.busEfficiency = busEfficiency;
	}
	public double getBusEfficiency() {
		return busEfficiency;
	}
	public void setBusEfficiency(double busEfficiency) {
		this.busEfficiency = busEfficiency;
	}
	public int getExperience() {
		return experience;
	}
	public void setExperience(int experience) {
		this.experience = experience;
	}
	
	public double getAvrSpeed() {
		return avrSpeed;
	}
	public void setAvrSpeed(double avrSpeed) {
		this.avrSpeed = avrSpeed;
	}
	public boolean isSafe() {
		return isSafe;
	}
	public void setSafe(boolean isSafe) {
		this.isSafe = isSafe;
	}

}
